﻿using GrainManage.Web.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GrainManage.Web.Models.Account
{
    public class ResetPasswordModel
    {
        [Required(ErrorMessageResourceType = typeof(AccountResx), ErrorMessageResourceName = "UserNameRequired")]
        [Display(ResourceType = typeof(AccountResx), Name = "UserName")]
        public string UserName { get; set; }

        [Required(ErrorMessageResourceType = typeof(AccountResx), ErrorMessageResourceName = "EmailAddressRequired")]
        [Display(ResourceType = typeof(AccountResx), Name = "EmailAddress")]
        public string EmailAddress { get; set; }
    }
}